package com.xingxuecn.limit.common.model;

import org.apache.commons.lang3.builder.MultilineRecursiveToStringStyle;
import org.apache.commons.lang3.builder.ToStringBuilder;

/**
 * @author zgx at 2018/9/17 0017 上午 10:34
 */
public class RoleUser {
    private Integer role_id;
    private Integer user_id;

    public RoleUser() {
    }

    public RoleUser(Integer role_id, Integer user_id) {
        this.role_id = role_id;
        this.user_id = user_id;
    }

    public Integer getRole_id() {
        return role_id;
    }

    public void setRole_id(Integer role_id) {
        this.role_id = role_id;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, new MultilineRecursiveToStringStyle())
                .append("role_id", role_id)
                .append("user_id", user_id)
                .toString();
    }
}
